package com.danbay.cloud.device.api.dto;

import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import javax.validation.constraints.NotNull;

/**
 * @author yangyanchen on 2018/1/8
 *         Copyright © 2016 －2017 旦倍科技
 */
@Data
@Builder
@NoArgsConstructor
@AllArgsConstructor
public class ReportRelayDto {

    @NotNull(message = "deviceId不允许为空")
    private String deviceId;

    private boolean value;
}
